﻿<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Controls="clr-namespace:HAOest.ListManager.Controls" x:Name="window"
        x:Class="HAOest.ListManager.MainWindow"
        Title="ListManager" Height="500" Width="809" Style="{DynamicResource MainWindowStyle}"
        MouseLeftButtonDown="Window_MouseLeftButtonDown" BorderThickness="1" Closing="MainWindow_Closing" Icon="pack://siteoforigin:,,,/Icon6.ico" Loaded="MainWindow_Loaded" BorderBrush="{DynamicResource WindowBorderBrush}" WindowStartupLocation="CenterScreen" AllowsTransparency="True" WindowStyle="None" mc:Ignorable="d" >
    <Window.Resources>
        <Storyboard x:Key="OnLoaded">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="window">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="809"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="window">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Window.Resources>
    <Window.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
            <BeginStoryboard x:Name="OnLoaded_BeginStoryboard" Storyboard="{StaticResource OnLoaded}"/>
        </EventTrigger>
    </Window.Triggers>
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="Resources/Background.jpg" Stretch="UniformToFill"/>
        </Grid.Background>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="248"/>
            <ColumnDefinition Width="0.108*"/>
            <ColumnDefinition Width="0.892*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition/>
            <RowDefinition Height="50"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <Image x:Name="Icon" Margin="10,0,0,0" Width="32" Source="Resources/Icon_32.png" HorizontalAlignment="Left" Height="32" VerticalAlignment="Center"/>
        <StackPanel Margin="56,0,0,0" Orientation="Horizontal" HorizontalAlignment="Left" Width="280" Grid.ColumnSpan="2">
            <TextBlock  Text="ListManager 列表管理员" Style="{DynamicResource BoldTextBlockStyle}" FontSize="16" HorizontalAlignment="Right" Margin="10,0,0,0" />
        </StackPanel>
        <ListBox x:Name="lstListFamilies" ItemsSource="{Binding}" Margin="20,0,0,0"  Grid.Row="2" SelectionChanged="lstListFamilies_SelectionChanged" Template="{DynamicResource ListBoxControlTemplate}" ItemContainerStyle="{DynamicResource ListBoxItemStyle_Normal}" ItemTemplate="{DynamicResource ListFamilyDataTemplate}" MouseDoubleClick="lstListFamilies_MouseDoubleClick" PreviewMouseRightButtonDown="lstListFamilies_PreviewMouseRightButtonDown" >
            <ListBox.ContextMenu>
                <ContextMenu x:Name="LstListFamilyContextMenu" BorderBrush="{DynamicResource BorderBrush_Green}">
                    <MenuItem x:Name="LstListFamilyContextMenuItemEdit" Header="编辑" FontSize="12" Click="lstListFamilyContextMenuItemEdit_Click">
                        <MenuItem.Icon>
                            <Image Source="Resources/Edit.png" Height="12" Margin="4,0,0,0" />
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem x:Name="LstListFamilyContextMenuItemMoveUp" Header="上移" FontSize="12"  Click="lstListFamilyContextMenuItemMoveUp_Click" >
                        <MenuItem.Icon>
                            <Path Data="M195.1299,120.3003C195.1289,128.3213,195.3209,136.3503,195.0149,144.3553C194.9199,146.8113,194.0109,150.4293,192.4609,151.2663C191.0099,152.0503,187.7959,150.4253,186.0749,148.8953C159.8589,125.5523,133.7639,102.0503,107.6359,78.5893C99.8349,71.5843,95.1149,71.5913,87.2919,78.6163C61.4229,101.8483,35.5589,125.0883,9.68889999999999,148.3183C8.65989999999999,149.2433,7.66589999999999,150.2673,6.5129,150.9623C3.40689999999998,152.8353,1.0719,152.3403,0.222899999999981,148.1023C0.150899999999979,147.7473,-0.00210000000001287,147.3923,-0.00010000000000332,147.0393C0.119900000000001,128.1033,-0.317100000000011,109.1283,0.751900000000006,90.2583C1.0489,85.0253,4.82989999999998,78.8113,8.70089999999999,75.2373C34.9089,51.0333,61.5649,27.4103,88.0919,3.62129999999999C94.7529,-2.35270000000001,100.2139,-2.34370000000001,106.8979,3.65129999999999C133.4249,27.4393,159.9349,51.2513,186.4489,75.0573C192.3939,80.3943,194.9679,87.4873,195.1019,95.6913C195.2349,103.8923,195.1309,112.0973,195.1299,120.3003" Fill="#FF4D5EFF" Canvas.Left="0" Stretch="Uniform" Canvas.Top="0" Margin="4,0,0,0" Width="12"/>
                        </MenuItem.Icon>
                    </MenuItem>
                    <MenuItem x:Name="LstListFamilyContextMenuItemMoveDown" Header="下移" FontSize="12"  Click="lstListFamilyContextMenuItemMoveDown_Click">
                        <MenuItem.Icon>
                            <Path Data="M195.1299,30.8477C195.1289,22.8267,195.3209,14.7977,195.0149,6.7917C194.9199,4.3367,194.0109,0.717700000000004,192.4609,-0.118299999999998C191.0099,-0.903299999999998,187.7959,0.721700000000002,186.0749,2.2527C159.8589,25.5947,133.7639,49.0977,107.6359,72.5587C99.8349,79.5637,95.1149,79.5567,87.2919,72.5317C61.4229,49.2997,35.5589,26.0597,9.68889999999999,2.8287C8.65989999999999,1.9057,7.66589999999999,0.879700000000003,6.5129,0.186700000000002C3.40689999999998,-1.6863,1.0719,-1.1923,0.222899999999981,3.0457C0.150899999999979,3.4017,-0.00210000000001287,3.7547,-0.00010000000000332,4.1087C0.119900000000001,23.0447,-0.317100000000011,42.0197,0.751900000000006,60.8897C1.0489,66.1227,4.82989999999998,72.3367,8.70089999999999,75.9107C34.9089,100.1147,61.5649,123.7377,88.0919,147.5267C94.7529,153.5007,100.2139,153.4917,106.8979,147.4967C133.4249,123.7087,159.9349,99.8967,186.4489,76.0907C192.3939,70.7537,194.9679,63.6607,195.1019,55.4567C195.2349,47.2557,195.1309,39.0507,195.1299,30.8477" Fill="#FF4D5EFF" Canvas.Left="0" Stretch="Uniform" Canvas.Top="0" Margin="4,0,0,0" Width="12" />
                        </MenuItem.Icon>
                    </MenuItem>

                    <MenuItem x:Name="LstListFamilyContextMenuItemDelete" Header="删除" FontSize="12"  Click="lstListFamilyContextMenuItemDelete_Click">
                        <MenuItem.Icon>
                            <Path Data="F1M21.890625,25.974075C21.765625,26.161575,21.109375,26.8022,19.9375,27.9272C18.765625,29.0522,17.65625,30.14595,16.609375,31.192825C17.71875,32.317825,18.828125,33.4272,19.921875,34.5522C20.421875,35.08345,20.921875,35.630325,21.421875,36.1772C21.703125,36.45845,21.46875,36.974075,20.71875,37.724075C19.890625,38.5522,19.375,38.8647,19.1875,38.661575C18.671875,38.161575,18.171875,37.64595,17.671875,37.1147C16.484375,35.9272,15.328125,34.755325,14.1875,33.599075C13.09375,34.692825,11.9375,35.83345,10.71875,37.02095C10.15625,37.58345,9.59375,38.14595,9.03125,38.692825C8.71875,38.974075,8.1875,38.70845,7.40625,37.9272C6.78125,37.3022,6.46875,36.8647,6.46875,36.58345C7.078125,35.9272,7.671875,35.3022,8.265625,34.70845C9.53125,33.4897,10.71875,32.317825,11.8125,31.224075C10.75,30.161575,9.578125,28.95845,8.296875,27.6147C7.703125,26.9897,7.09375,26.3647,6.5,25.7397C6.21875,25.474075,6.359375,25.067825,6.890625,24.536575C7.265625,24.130325,7.6875,23.83345,8.15625,23.6147C8.609375,23.411575,8.90625,23.3647,9.03125,23.4897C9.609375,24.1147,10.203125,24.7397,10.8125,25.33345C12.03125,26.6147,13.171875,27.755325,14.234375,28.786575C15.328125,27.692825,16.515625,26.536575,17.8125,25.3022C18.390625,24.7397,18.984375,24.192825,19.578125,23.630325C19.78125,23.442825,20.1875,23.567825,20.796875,24.005325C21.515625,24.724075,21.890625,25.380325,21.890625,25.974075L21.890625,25.974075" Fill="#FFE71B1A" Canvas.Left="0" Stretch="Uniform" Canvas.Top="0" Width="12" Margin="4,0,0,0"/>
                        </MenuItem.Icon>
                    </MenuItem>
                </ContextMenu>
            </ListBox.ContextMenu>
        </ListBox>
        <Border Background="{DynamicResource ListBoxHeaderBrush}" Grid.Column="2" Height="24" Margin="0,0,20,0" Grid.Row="2" VerticalAlignment="Top" BorderBrush="{DynamicResource BorderBrush_Blue}" BorderThickness="2,2,2,0" SnapsToDevicePixels="True" >
            <Grid x:Name="columnNameGrid" Margin="0" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="176"/>
                    <ColumnDefinition Width="69" />
                </Grid.ColumnDefinitions>
                <Border x:Name="lstListChildrenColumnNameTitle" Margin="0" MouseDown="lstListChildrenColumnNameTitle_MouseDown" Background="#00000000" >
                    <StackPanel Margin="0" Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock TextWrapping="Wrap" FontWeight="Bold" Height="15.837" Width="24" d:LayoutOverrides="Height, Margin"><Run Language="zh-cn" Text="概览"/></TextBlock>
                        <Path x:Name="ListChildrenTitleUpTriangle" Data="F1M56.6928,-0.519599999999997L-0.000199999999999534,42.0004L113.3868,42.0004z" Height="5" Stretch="Fill" Width="10" Margin="10,0,0,0" Fill="Black"/>
                        <Path x:Name="ListChildrenTitleDownTriangle" Data="F1M56.6928,-0.519599999999997L-0.000199999999999534,42.0004L113.3868,42.0004z" Height="5" Stretch="Fill" Width="10" Margin="5,0,0,0" Fill="#FF9D9D9D" RenderTransformOrigin="0.5,0.5">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform Angle="180"/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>

                    </StackPanel>
                </Border>
                <Border x:Name="lstListChildrenColumnNameStartTime" Grid.Column="1" Margin="0" d:LayoutOverrides="Height" BorderThickness="1,0" BorderBrush="#FFE3D5B2" Background="#00000000" MouseDown="lstListChildrenColumnNameStartTime_MouseDown">
                    <StackPanel Margin="0" Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock Margin="0" TextWrapping="Wrap" Text="起" FontWeight="Bold"/>
                        <TextBlock Margin="0" TextWrapping="Wrap" Text="止" FontWeight="Bold"/>
                        <TextBlock Margin="0" TextWrapping="Wrap" FontWeight="Bold" Text="时间"/>
                        <Path x:Name="ListChildrenTimeUpTriangle" Data="F1M56.6928,-0.519599999999997L-0.000199999999999534,42.0004L113.3868,42.0004z" Height="5" Stretch="Fill" Width="10" Margin="10,0,0,0" Fill="Black"/>
                        <Path x:Name="ListChildrenTimeDownTriangle" Data="F1M56.6928,-0.519599999999997L-0.000199999999999534,42.0004L113.3868,42.0004z" Height="5" Stretch="Fill" Width="10" Margin="5,0,0,0" Fill="#FF9D9D9D" RenderTransformOrigin="0.5,0.5">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform Angle="180"/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                    </StackPanel>
                </Border>
                <Border x:Name="lstListChildrenColumnNameMark" Grid.Column="2" Margin="0" MouseDown="lstListChildrenColumnNameMark_MouseDown" Background="#00000000" >
                    <StackPanel Margin="0" Orientation="Horizontal" d:LayoutOverrides="Height" HorizontalAlignment="Center" VerticalAlignment="Center">
                        <TextBlock TextWrapping="Wrap" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"><Run Language="zh-cn" Text="标记"/></TextBlock>
                        <Path x:Name="ListChildrenMarkUpTriangle" Data="F1M56.6928,-0.519599999999997L-0.000199999999999534,42.0004L113.3868,42.0004z" Height="5" Stretch="Fill" Margin="10,0,0,0" Fill="Black" Width="10"/>
                        <Path x:Name="ListChildrenMarkDownTriangle" Data="F1M56.6928,-0.519599999999997L-0.000199999999999534,42.0004L113.3868,42.0004z" Height="5" Stretch="Fill" Margin="5,0,0,0" Fill="#FF9D9D9D" RenderTransformOrigin="0.5,0.5" Width="10">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform Angle="180"/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                    </StackPanel>
                </Border>
            </Grid>
        </Border>
        <StackPanel Grid.Column="2" Margin="0" Grid.Row="3" Orientation="Horizontal">
            <Button Content="添加" Style="{DynamicResource GreenButtonStyle}" Click="btnAddListChild_Click" Margin="0,5,5,5"/>
            <Button x:Name="btnEditListChild" Content="编辑" Style="{DynamicResource GreenButtonStyle}" Click="btnEditListChild_Click"/>
            <Button x:Name="btnMarkListChild" Content="标记" Style="{DynamicResource GreenButtonStyle}" Click="btnMarkListChild_Click"/>
            <Button x:Name="btnDeleteListChild" Content="删除" Style="{DynamicResource GreenButtonStyle}" Click="btnDeleteListChild_Click"/>
            <Button Content="上移" Style="{DynamicResource GreenButtonStyle}" Click="btnMoveUpListChild_Click"/>
            <Button Content="下移" Style="{DynamicResource GreenButtonStyle}" Click="btnMoveDownListChild_Click"/>
            <Button Content="属性" Style="{DynamicResource GreenButtonStyle}" Click="btnListFamilyProperty_Click"/>
        </StackPanel>
        <StackPanel Margin="20,0,0,0" Grid.Row="4" Orientation="Horizontal" d:LayoutOverrides="Width">
            <TextBlock HorizontalAlignment="Left" Margin="0,0,5,0" VerticalAlignment="Center"><Hyperlink x:Name="CheckUpdate" Style="{DynamicResource HyperlinkStyle}" ToolTip="检查是否有更新的版本" Click="CheckUpdate_Click"><Run Text="检查更新"/></Hyperlink></TextBlock>
            <TextBlock x:Name="LbVersion" Text="当前版本：" Margin="5,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" />
        </StackPanel>
        <StackPanel Grid.Column="2" Margin="0,0,20,0" Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
            <TextBlock Margin="10,0,5,0" VerticalAlignment="Center" HorizontalAlignment="Left" ><Hyperlink Style="{DynamicResource HyperlinkStyle}" Click="SendAdvice_Click" ><Run Text="提点建议"/></Hyperlink></TextBlock>
            <TextBlock HorizontalAlignment="Left"  Margin="5,0" VerticalAlignment="Center"><Hyperlink NavigateUri="http://listmanager.haoest.com" ToolTip="查看产品网站，获取最新信息" Style="{DynamicResource HyperlinkStyle}" Click="ProjectHome_Click"><Run Text="产品首页"/></Hyperlink></TextBlock>
            <TextBlock Margin="5,0,0,0"  VerticalAlignment="Center" HorizontalAlignment="Left"><Hyperlink NavigateUri="http://www.haoest.com" ToolTip="查看好易思特主页" Style="{DynamicResource HyperlinkStyle}" Click="CompanyHome_Click"><Run Text="© 2013 好易思特 HAOest"/></Hyperlink></TextBlock>
        </StackPanel>
        <StackPanel Grid.Column="2" HorizontalAlignment="Right" Margin="0" VerticalAlignment="Top" Orientation="Horizontal">

            <Button x:Name="btnMinimize" Height="26" Width="40" Style="{DynamicResource MinimizeButtonStyle}" Click="btnMinimize_Click"/>
            <Button x:Name="btnClose"  Height="26" Width="40" Style="{DynamicResource CloseButtonStyle}" Click="btnClose_Click"/>
        </StackPanel>
        <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="20,0,0,0" Grid.ColumnSpan="2">
            <Button x:Name="btnAddListFamily" Content="添加"  Style="{DynamicResource GreenButtonStyle}" Click="btnAddListFamily_Click" Margin="0,5,5,5" />
            <Button x:Name="btnEditListFamily" Content="编辑" Style="{DynamicResource GreenButtonStyle}" Click="btnEditListFamily_Click"/>
            <Button x:Name="btnDeleteListFamily" Content="删除" Style="{DynamicResource GreenButtonStyle}" Click="btnDeleteListFamily_Click"/>
        </StackPanel>
        <TextBlock Grid.Row="1"  Text="所有列表：" Style="{DynamicResource BoldTextBlockStyle}" HorizontalAlignment="Left" Margin="20,0,0,0"/>
        <TextBlock x:Name="tbListFamilyName" Grid.Column="2"  Grid.Row="1" Text="列表项目：" Style="{DynamicResource BoldTextBlockStyle}" HorizontalAlignment="Left"/>
        <Popup x:Name="popupMark"  PlacementTarget="{Binding ElementName=btnMarkListChild}" StaysOpen="False" Placement="Top" PopupAnimation="Slide" AllowsTransparency="True" HorizontalOffset="2" VerticalOffset="-2">
            <Grid Background="#CCF9ECA8">
                <Border Margin="0" BorderBrush="{DynamicResource BorderBrush_Green}" BorderThickness="1">
                    <StackPanel>
                        <MenuItem x:Name="mnuStarred" Header="重要" FontSize="12"  Click="menuItemStarred_Click" >
                            <MenuItem.Icon>
                                <Path Data="F1M11.8701,-0.5792L8.2021,6.8538L0.000100000000001543,8.0458L5.9351,13.8308L4.5331,21.9998L11.8701,18.1438L19.2071,21.9998L17.8061,13.8308L23.7401,8.0458L15.5381,6.8538z" Fill="#FFF49E14" Canvas.Left="0" Stretch="Uniform" Canvas.Top="0" Margin="4,0,0,0" Height="13"/>
                            </MenuItem.Icon>
                        </MenuItem>
                        <MenuItem x:Name="mnuFinished" Header="已完成" FontSize="12"  Click="menuItemFinished_Click" >
                            <MenuItem.Icon>
                                <Path Data="F1M28.09375,6.96335C28.09375,7.510225,27.71875,7.9321,27,8.2446C24.34375,9.3696,21.453125,12.27585,18.296875,16.9321C14.984375,21.853975,12.671875,26.947725,11.328125,32.228975C11.125,32.947725,10.75,33.322725,10.203125,33.322725C9.78125,33.322725,9.5,32.9321,9.359375,32.15085C9.0625,30.541475,8.359375,28.791475,7.265625,26.90085C6.203125,25.103975,5.21875,23.885225,4.3125,23.2446C3.734375,22.83835,3.234375,22.635225,2.828125,22.635225C2.390625,22.635225,1.90625,22.8696,1.375,23.322725C1.09375,23.635225,0.765625,23.58835,0.390625,23.166475C0.15625,22.83835,0.15625,22.52585,0.390625,22.228975C0.859375,21.760225,1.625,21.010225,2.671875,20.010225C3.140625,19.603975,3.59375,19.385225,4.046875,19.385225C4.328125,19.385225,4.6875,19.478975,5.15625,19.635225C6.03125,19.9946,6.921875,20.65085,7.859375,21.603975C8.859375,22.697725,9.609375,23.8696,10.078125,25.1196C10.21875,25.5571,10.359375,25.9946,10.515625,26.4321C10.609375,26.7446,10.71875,26.885225,10.84375,26.885225C10.9375,26.885225,11.015625,26.77585,11.078125,26.52585C11.140625,26.103975,11.21875,25.8071,11.296875,25.65085C13.234375,20.52585,15.59375,16.041475,18.375,12.197725C21.421875,8.010225,24.09375,5.916475,26.375,5.916475C27.515625,5.916475,28.09375,6.27585,28.09375,6.96335L28.09375,6.96335" Fill="#FF6AB82D" Height="13" Stretch="Uniform" Margin="4,0,0,0" Stroke="#FF6AB82D" StrokeThickness="0.5"/>
                            </MenuItem.Icon>
                        </MenuItem>
                        <MenuItem x:Name="mnuNone" Header="未完成" FontSize="12"  Click="menuItemNone_Click">
                            <MenuItem.Icon>
                                <Grid Height="13" Margin="4,0,0,0">
                                    <Path Data="M20.6084,167.4492C18.6084,154.3972,23.1784,144.3952,40.4954,139.1962C53.2934,135.3572,58.8224,130.8332,61.4954,122.5982C63.1124,117.6082,63.2984,98.9602,62.7304,92.2712C61.5104,77.9392,54.5504,67.4222,42.3264,57.4532C40.8734,56.2662,39.5834,54.9752,38.8314,54.2922L97.8634,54.2922C95.6164,56.4092,93.0944,59.4842,89.6664,61.8982C77.4574,70.4962,73.6334,81.1682,73.9564,92.9562C74.2284,102.9002,75.0284,112.8472,74.7564,122.7832C74.6294,127.4362,76.6684,130.2922,82.1774,132.5172C87.6274,134.7202,92.3114,138.0282,97.9684,139.8192C114.9494,145.1942,117.3894,155.2892,116.1554,167.4492z" Fill="#FF767777" Stretch="Uniform" Margin="0,0,0,0.4" Height="8.6" VerticalAlignment="Bottom" HorizontalAlignment="Center"/>
                                    <Path Data="M25.2744,9.8135C25.1474,26.3825,27.3084,41.6985,40.7334,54.6515C45.4644,59.2175,50.3534,63.7045,54.6894,68.5015C62.1394,76.7425,65.2314,86.0885,60.0704,95.5665C56.2934,102.5035,50.9574,109.1825,44.8254,114.9775C29.4904,129.4755,24.9684,146.0695,26.4294,164.6095L108.9714,164.6095C111.4444,147.3245,106.9854,130.7005,93.9364,117.9725C90.1384,114.2665,86.1104,110.6995,82.5614,106.8505C70.5144,93.7905,70.7504,79.3355,83.1674,66.5185C87.7054,61.8325,92.7634,57.4585,97.1944,52.7115C109.0644,40.0015,110.9284,25.3685,110.6664,9.8135z M135.8284,-0.0654999999999948C135.3784,2.8245,134.9284,5.7165,134.4204,8.9675C130.9704,9.2525,127.6574,9.5255,123.2504,9.8905C122.6624,15.8495,122.3214,21.8855,121.4214,27.8685C118.9434,44.3735,110.5544,58.6765,96.7104,71.2385C82.0934,84.5015,82.0434,90.5165,96.6764,103.6825C112.9344,118.3125,121.1184,135.2055,122.1344,154.5285C122.3134,157.9035,122.7474,161.2705,123.0934,164.9695C126.9874,165.2905,130.3144,165.5625,134.2644,165.8855C134.7794,168.8895,135.3044,171.9455,135.8284,175.0005L0.000399999999999068,175.0005C0.525400000000001,172.1165,1.0504,169.2295,1.6444,165.9795C5.2504,165.6405,8.8074,165.3035,12.6644,164.9425C13.7394,156.8285,14.3524,148.8965,15.9204,141.0855C18.8464,126.5025,27.8104,114.2865,39.8724,103.1965C53.6674,90.5165,53.8364,84.2385,39.8124,71.7485C22.3534,56.1995,14.2414,38.1135,13.6954,17.5555C13.6424,15.5135,13.3604,13.4725,13.0994,11.4385C13.0454,11.0255,12.6024,10.6415,12.0864,9.8655C9.0244,9.63250000000001,5.6744,9.37650000000001,1.7814,9.08150000000001C1.1914,6.0425,0.595400000000001,2.9895,0.000399999999999068,-0.0654999999999948z" Fill="Black" Stretch="Uniform"/>
                                </Grid>
                            </MenuItem.Icon>
                        </MenuItem>

                        <MenuItem x:Name="mnuAbandoned" Header="放弃" FontSize="12"  Click="menuItemAbandoned_Click">
                            <MenuItem.Icon>
                                <Path Data="M28.820787,49.907036 C24.443775,49.710037 21.397768,52.707047 21.352768,57.98806 21.218767,73.787102 21.229767,89.587143 21.348768,105.38419 21.387768,110.5662 24.517776,113.85121 28.664787,113.73021 32.871799,113.60721 35.575806,110.3762 35.640804,105.04318 35.733807,97.394165 35.664806,89.743141 35.662807,82.093124 35.662807,74.1101 35.741806,66.127083 35.633804,58.145058 35.564804,53.082047 32.957798,50.095039 28.820787,49.907036 z M85.555481,49.899338 C85.413864,49.897926 85.270348,49.899818 85.124939,49.905037 80.679924,50.064037 78.238922,53.208046 78.223923,59.073063 78.182922,74.2071 78.178917,89.340141 78.225922,104.47418 78.243919,110.2602 80.788925,113.54721 85.145943,113.72221 89.622948,113.90321 92.500961,110.4162 92.564957,104.45618 92.646957,96.97316 92.584961,89.489143 92.58696,82.005127 92.58696,74.355103 92.650963,66.705086 92.565956,59.055061 92.502022,53.166012 89.945488,49.943188&#xA;85.555481,49.899338 z M57.161865,49.896038 C52.788853,49.759037 49.910843,52.880047 49.894844,58.084061 49.842842,73.885101 49.841843,89.686142 49.895843,105.48718 49.912846,110.4122 52.635853,113.55121 56.714863,113.70221 60.921875,113.85621 63.938881,110.5232 63.982883,105.43519 64.05188,97.452164 64.000885,89.46714 64.000885,81.484123 64.000885,73.667099 64.05088,65.849083 63.982883,58.031059 63.93988,53.030045 61.336876,50.026039 57.161865,49.896038 z M7.4587292,35.902 L106.619,35.902 C106.30599,41.567017 106.06999,46.985031 105.69399,52.393044 104.21499,73.658104 102.74299,94.923157 101.15698,116.18021 100.54798,124.33823 96.447967,127.96325 88.130943,127.97424 67.306892,128.00424 46.480835,128.00525 25.656778,127.97324 17.406757,127.96024 13.306745,124.28123 12.711745,116.09022 10.815739,90.013145 9.030734,63.927074 7.2167281,37.844006 7.1837291,37.375004 7.3297295,36.893002 7.4587292,35.902 z M38.940025,0 L74.93602,0 C76.483017,4.46 78.031013,8.9200001 79.909012,14.331 L101.83501,14.331 C113.608,14.331 114.53201,15.357 113.581,27.868 L0.013038201,27.868 C0.013038299,25.851002 -0.019961692,23.903 0.019038579,21.956001 0.12803827,16.404001 1.9930378,14.415 7.5390362,14.358999 16.819033,14.268 26.10103,14.334 33.967026,14.333999 35.845028,8.9219999 37.393028,4.46 38.940025,0 z" Fill="#FFC75A00" Canvas.Left="0" Stretch="Uniform" Canvas.Top="0" Margin="4,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" Height="13"/>
                            </MenuItem.Icon>
                        </MenuItem>
                    </StackPanel>
                </Border>
            </Grid>
        </Popup>
        <ResizeGrip HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Column="2" Margin="0" Grid.Row="4"/>
        <Controls:ListChildrenDisplayPart x:Name="listChildrenDisplayPart" Grid.Column="2" Margin="0,24,20,0" Grid.Row="2"/>

    </Grid>
</Window>